package org.mixed.core.event;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
public class MixEvent {

	/**
	 * 消息类型
	 */
	private final String type;

	/**
	 * 消息动作
	 */
	private final EventAction action;

	/**
	 * 消息来源
	 */
	private String source;

	public MixEvent(String type, EventAction action) {
		this(type, action, null);
	}
}
